package cn.wolfcode.transfer.mapper;

import cn.wolfcode.transfer.domain.SystemDictionaryItem;
import cn.wolfcode.transfer.qo.QueryObject;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);

    List<SystemDictionaryItem> selectForList(QueryObject qo);

    List<SystemDictionaryItem> selectParent(Long parentId);

    List<SystemDictionaryItem> selectByTypeSN(String sn);
    List<SystemDictionaryItem> selectBytypeId(Long id);

    List<SystemDictionaryItem> selectByParent(Long id);
}